package cn.edu.neusoft.yuejian_02.bean;


import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by jj on 2017/10/9.
 */

public class ClubBean implements Parcelable {


    /**
     * club_id : 1
     * clubname : 约键9
     * intro : 9组
     * address : b347
     * telephone : 15382290275
     * time : 2017-08-22 11:27:17
     * pic : 5.jpg
     */

    private int club_id;
    private String clubname;
    private String intro;
    private String address;
    private String telephone;
    private String time;
    private String pic;

    protected ClubBean(Parcel in) {
        club_id = in.readInt();
        clubname = in.readString();
        intro = in.readString();
        address = in.readString();
        telephone = in.readString();
        time = in.readString();
        pic = in.readString();
    }

    public static final Creator<ClubBean> CREATOR = new Creator<ClubBean>() {
        @Override
        public ClubBean createFromParcel(Parcel in) {
            return new ClubBean(in);
        }

        @Override
        public ClubBean[] newArray(int size) {
            return new ClubBean[size];
        }
    };

    public void setClub_id(int club_id) {
        this.club_id = club_id;
    }

    public void setClubname(String clubname) {
        this.clubname = clubname;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public int getClub_id() {
        return club_id;
    }

    public String getClubname() {
        return clubname;
    }

    public String getIntro() {
        return intro;
    }

    public String getAddress() {
        return address;
    }

    public String getTelephone() {
        return telephone;
    }

    public String getTime() {
        return time;
    }

    public String getPic() {
        return pic;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(club_id);
        parcel.writeString(clubname);
        parcel.writeString(intro);
        parcel.writeString(address);
        parcel.writeString(telephone);
        parcel.writeString(time);
        parcel.writeString(pic);
    }
}
